package com.wskj.workbench.vo.app;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 购物车对象
 *
 * @author wsdz
 * @date 2022-09-26
 */
@Data
@ApiModel("APP购物车对象Last")
public class AppTbShopCartLastVo {

    /** 购物车ID */
    @ApiModelProperty("购物车ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long cartId;

    /** 单品ID */
    @ApiModelProperty("单品ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long skuId;

    /** 商品名称 */
    @ApiModelProperty("商品名称")
    private String prodName;

    /** 单品图片 */
    @ApiModelProperty("单品图片")
    private String pic;

    /** 单品名称 */
    @ApiModelProperty("单品名称")
    private String skuName;

    /** 商品售价 */
    @ApiModelProperty("商品售价")
    private BigDecimal productPrice;

    /** 购买数量 */
    @ApiModelProperty("购买数量")
    private Integer number;
}
